﻿// 开发者:micropu
// 公司:佛山远钧智慧科技有限公司

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Entity;

/// <summary>
/// 班组
/// </summary>
[SugarTable("zj_BanZu", TableDescription = "班组")]
public class BanZu : EntityTenantBaseData 
{
    /// <summary>
    /// 公司营业执照编号
    /// </summary>
    [SugarColumn(ColumnDescription = "营业执照", Length = 200,IsNullable = true)]
    public string CompanyNumber { get; set; }
    /// <summary>
    /// 项目唯一标识码，可在实名制平台项目详细信息处获取
    /// </summary>
    [SugarColumn(ColumnDescription = "项目唯一标识码", Length = 200, IsNullable = true)]
    public string ProjectNumber { get; set; }

    /// <summary>
    /// 项目Id
    /// </summary>
    [SugarColumn(ColumnDescription = "项目ID")]
    public long ProjectId { get; set; }

    /// <summary>
    /// Token
    /// </summary>
    [SugarColumn(ColumnDescription = "Token", Length = 200, IsNullable = true)]
    public string Token { get; set; }

    /// <summary>
    /// 班组名称
    /// </summary>
    [SugarColumn(ColumnDescription = "班组名称", Length = 200, IsNullable = true)]
    public string TeamName { get; set; }

    /// <summary>
    /// 工程承包内容
    /// </summary>
    [SugarColumn(ColumnDescription = "工程承包内容", Length = 200, IsNullable = true)]
    public string ProjectPart { get; set; }

    /// <summary>
    /// 承包合同金额
    /// </summary>
    [SugarColumn(ColumnDescription = "承包合同金额")]
    public int ContractSum { get; set; }

    /// <summary>
    /// 班组长姓名
    /// </summary>
    [SugarColumn(ColumnDescription = "班组长姓名", Length = 200, IsNullable = true)]
    public string Name { get; set; }

    /// <summary>
    /// 班组长联系方式
    /// </summary>
    [SugarColumn(ColumnDescription = "班组长联系方式", Length = 200, IsNullable = true)]
    public string Tel { get; set; }
    /// <summary>
    /// 班组长身份证号
    /// </summary>
    [SugarColumn(ColumnDescription = "班组长身份证号", Length = 200, IsNullable = true)]
    public string IDNum { get; set; }
    /// <summary>
    /// 紧急联系人
    /// </summary>
    [SugarColumn(ColumnDescription = "紧急联系人", Length = 200, IsNullable = true)]
    public string EmerPeople { get; set; }
    /// <summary>
    /// 紧急联系人电话
    /// </summary>
    [SugarColumn(ColumnDescription = "紧急联系人电话", Length = 200, IsNullable = true)]
    public string EmerTel { get; set; }
    /// <summary>
    /// 合同文件在文件系统上的ID（调用接口3.10的返回结果），必须上传合同
    /// </summary>
    [SugarColumn(ColumnDescription = "文件ID", Length = 200, IsNullable = true)]
    public string ContractID { get; set; }
}
